Skip to content

Make project plan revisions idempotent - #8

Merged
JulioMCruz merged 1 commit into
mainfrom
agent/e2e-workflow-reliability
Jul 20, 2026
Merged

Make project plan revisions idempotent#8
JulioMCruz merged 1 commit into
mainfrom
agent/e2e-workflow-reliability

Conversation

@JulioMCruz

Copy link
Copy Markdown
Contributor

What changed

  • Make repeated plan proposals idempotent.
  • Block plan rewrites while the workflow is awaiting human approval.
  • Reuse groups/tasks by normalized title when the PM retries without block IDs.
  • Reopen a proposed plan for discussion when changes are requested.
  • Preserve workflow conversation routing through completion.
  • Raise the default per-agent tool budget from 10 to 30 requests/minute.

Why

The E2E change-request path produced duplicate proposal cards, duplicate task blocks, 429s, and late workflow messages in a newer chat thread.

Impact

A plan has one actionable proposal, PM retries do not duplicate structure, and task/workflow events remain attached to the workflow conversation.

Validation

  • npm test — 9 files, 44 tests passed
  • npm run typecheck
  • npm run build

Production must set or remove its explicit AGENT_RATE_LIMIT_MAX override to receive the new default.

@JulioMCruz
JulioMCruz marked this pull request as ready for review July 20, 2026 00:44
@JulioMCruz
JulioMCruz merged commit 3903713 into main Jul 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant